/*
 * lcmd_error.h
 *
 *  Created on: 27.06.2011
 *      Author: michael
 */

#ifndef LCMD_ERROR_H_
#define LCMD_ERROR_H_

#include "lcmd_includes.h"

class LcmdError
{
private:
	int errornr;
	string file;
	int line;
	string errorToText();

public:
	LcmdError(int errornr,string file = __FILE__, int line = __LINE__);
	~LcmdError();

	void logError(lcm::log::Logger *logger);
};


#endif /* LCMD_ERROR_H_ */
